/*
 * Copyright 2002-2006 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.tigris.jasmincc.configuration;

import java.util.List;
import java.util.Properties;

/**
 * @author Sam Huang
 * 
 */
public interface ConfigurationManager {

	/**
	 * Ge the predefined options.
	 * 
	 * @return the options
	 */
	public Properties getOptions();

	/**
	 * Get configuration name.
	 * 
	 * @return the name
	 */
	public String getName();

	/**
	 * Get the grammar names.
	 * 
	 * @return the grammars to be built
	 */
	public List<String> getBuilds();

	String getParser();

	String getParserClassName();

	/**
	 * Get the predefined skipping tokens.
	 * 
	 * @return the skips
	 */
	List<String> getSkips();

	/**
	 * Get the predefined tokens.
	 * 
	 * @return the tokens.
	 */
	Properties getTokens();

	void init(String fileName) throws Exception;
}
